#include <iostream>
#include <iomanip>
using namespace std;

long long factorail( long long );

int main() {
    cout << setw( 7 ) << "Number" 
         << setw( 20 ) << "Factorial" << endl;
    for (int i = 1; i < 21; ++i) {
        cout << setw( 7 ) << i
             << setw( 20 ) << factorail(i) << endl;
    }
    return 0;
}

long long factorail( long long in ) {
    if (in == 0) return 1;
    return in * factorail( in - 1 );
}
